package cc.mxtt.mvc.model;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

@SuppressWarnings("serial")
public class Role extends Model<Role>{
	
	public static final Role dao = new Role();
	
	public Page<Role> paginate(int pageNumber, int pageSize){
		return paginate(pageNumber,pageSize,"select *","from sys_role order by order_id");
	}
}
